<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 字面量形式创建对象 本身就是一个"实例对象"
        var zs = {
            name: '张三',
            age: 36,
            sex: '男',
            run: function () {
                alert('I can running');
            }
        }
        var ls = {
            name: '李四',
            age: 45,
            sex: '女',
            run: function () {
                alert('I can running...')
            }
        }
        console.log('zs的name是：' + zs.name);
        console.log('ls的name是：' + ls.name);
    </script>
</body>
</html>